function act() {
    var b = cm.getEventInstance();
    if (b != null) {
        var a = b.getEventManager();
        var c = cm.getReactor().getState();
        if (c == 8) {
            cm.getWeatherEffectNotice("数量正确了！你现在可以前往下一层了。", 147, 15000, 1);
            a.setProperty("stage29", "clear");
            cm.openNpc(2540005, "特效_完成")
        } else {
            cm.getWeatherEffectNotice("红色沙晶的数量不对！再试试看其他数量。", 147, 15000, 1)
        }
    }
};